﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001BB RID: 443
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChallengeBossStageTertinggi : IMessage<ChallengeBossStageTertinggi>, IMessage, IEquatable<ChallengeBossStageTertinggi>, IDeepCloneable<ChallengeBossStageTertinggi>, IBufferMessage
	{
		// Token: 0x170005DF RID: 1503
		// (get) Token: 0x06001414 RID: 5140 RVA: 0x00039943 File Offset: 0x00037B43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChallengeBossStageTertinggi> Parser
		{
			get
			{
				return ChallengeBossStageTertinggi._parser;
			}
		}

		// Token: 0x170005E0 RID: 1504
		// (get) Token: 0x06001415 RID: 5141 RVA: 0x0003994A File Offset: 0x00037B4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChallengeBossStageTertinggiReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170005E1 RID: 1505
		// (get) Token: 0x06001416 RID: 5142 RVA: 0x0003995C File Offset: 0x00037B5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChallengeBossStageTertinggi.Descriptor;
			}
		}

		// Token: 0x06001417 RID: 5143 RVA: 0x00039963 File Offset: 0x00037B63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeBossStageTertinggi()
		{
		}

		// Token: 0x06001418 RID: 5144 RVA: 0x00039978 File Offset: 0x00037B78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeBossStageTertinggi(ChallengeBossStageTertinggi other) : this()
		{
			this.battleRecordStars_ = other.battleRecordStars_;
			this.buffOne_ = other.buffOne_;
			this.buffTwo_ = other.buffTwo_;
			this.level_ = other.level_;
			this.scoreId_ = other.scoreId_;
			this.lineupList_ = other.lineupList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001419 RID: 5145 RVA: 0x000399E9 File Offset: 0x00037BE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeBossStageTertinggi Clone()
		{
			return new ChallengeBossStageTertinggi(this);
		}

		// Token: 0x170005E2 RID: 1506
		// (get) Token: 0x0600141A RID: 5146 RVA: 0x000399F1 File Offset: 0x00037BF1
		// (set) Token: 0x0600141B RID: 5147 RVA: 0x000399F9 File Offset: 0x00037BF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BattleRecordStars
		{
			get
			{
				return this.battleRecordStars_;
			}
			set
			{
				this.battleRecordStars_ = value;
			}
		}

		// Token: 0x170005E3 RID: 1507
		// (get) Token: 0x0600141C RID: 5148 RVA: 0x00039A02 File Offset: 0x00037C02
		// (set) Token: 0x0600141D RID: 5149 RVA: 0x00039A0A File Offset: 0x00037C0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffOne
		{
			get
			{
				return this.buffOne_;
			}
			set
			{
				this.buffOne_ = value;
			}
		}

		// Token: 0x170005E4 RID: 1508
		// (get) Token: 0x0600141E RID: 5150 RVA: 0x00039A13 File Offset: 0x00037C13
		// (set) Token: 0x0600141F RID: 5151 RVA: 0x00039A1B File Offset: 0x00037C1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffTwo
		{
			get
			{
				return this.buffTwo_;
			}
			set
			{
				this.buffTwo_ = value;
			}
		}

		// Token: 0x170005E5 RID: 1509
		// (get) Token: 0x06001420 RID: 5152 RVA: 0x00039A24 File Offset: 0x00037C24
		// (set) Token: 0x06001421 RID: 5153 RVA: 0x00039A2C File Offset: 0x00037C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x170005E6 RID: 1510
		// (get) Token: 0x06001422 RID: 5154 RVA: 0x00039A35 File Offset: 0x00037C35
		// (set) Token: 0x06001423 RID: 5155 RVA: 0x00039A3D File Offset: 0x00037C3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x170005E7 RID: 1511
		// (get) Token: 0x06001424 RID: 5156 RVA: 0x00039A46 File Offset: 0x00037C46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChallengeLineupList> LineupList
		{
			get
			{
				return this.lineupList_;
			}
		}

		// Token: 0x06001425 RID: 5157 RVA: 0x00039A4E File Offset: 0x00037C4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChallengeBossStageTertinggi);
		}

		// Token: 0x06001426 RID: 5158 RVA: 0x00039A5C File Offset: 0x00037C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChallengeBossStageTertinggi other)
		{
			return other != null && (other == this || (this.BattleRecordStars == other.BattleRecordStars && this.BuffOne == other.BuffOne && this.BuffTwo == other.BuffTwo && this.Level == other.Level && this.ScoreId == other.ScoreId && this.lineupList_.Equals(other.lineupList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001427 RID: 5159 RVA: 0x00039AEC File Offset: 0x00037CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BattleRecordStars != 0U)
			{
				num ^= this.BattleRecordStars.GetHashCode();
			}
			if (this.BuffOne != 0U)
			{
				num ^= this.BuffOne.GetHashCode();
			}
			if (this.BuffTwo != 0U)
			{
				num ^= this.BuffTwo.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			num ^= this.lineupList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001428 RID: 5160 RVA: 0x00039B9D File Offset: 0x00037D9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001429 RID: 5161 RVA: 0x00039BA5 File Offset: 0x00037DA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600142A RID: 5162 RVA: 0x00039BB0 File Offset: 0x00037DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.lineupList_.WriteTo(ref output, ChallengeBossStageTertinggi._repeated_lineupList_codec);
			if (this.BattleRecordStars != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.BattleRecordStars);
			}
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.BuffOne != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.BuffOne);
			}
			if (this.BuffTwo != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.BuffTwo);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Level);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600142B RID: 5163 RVA: 0x00039C70 File Offset: 0x00037E70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BattleRecordStars != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BattleRecordStars);
			}
			if (this.BuffOne != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffOne);
			}
			if (this.BuffTwo != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffTwo);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			num += this.lineupList_.CalculateSize(ChallengeBossStageTertinggi._repeated_lineupList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600142C RID: 5164 RVA: 0x00039D24 File Offset: 0x00037F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChallengeBossStageTertinggi other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BattleRecordStars != 0U)
			{
				this.BattleRecordStars = other.BattleRecordStars;
			}
			if (other.BuffOne != 0U)
			{
				this.BuffOne = other.BuffOne;
			}
			if (other.BuffTwo != 0U)
			{
				this.BuffTwo = other.BuffTwo;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			this.lineupList_.Add(other.lineupList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600142D RID: 5165 RVA: 0x00039DC1 File Offset: 0x00037FC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600142E RID: 5166 RVA: 0x00039DCC File Offset: 0x00037FCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 10U)
					{
						this.lineupList_.AddEntriesFrom(ref input, ChallengeBossStageTertinggi._repeated_lineupList_codec);
						continue;
					}
					if (num == 24U)
					{
						this.BattleRecordStars = input.ReadUInt32();
						continue;
					}
					if (num == 56U)
					{
						this.ScoreId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.BuffOne = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.BuffTwo = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.Level = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000855 RID: 2133
		private static readonly MessageParser<ChallengeBossStageTertinggi> _parser = new MessageParser<ChallengeBossStageTertinggi>(() => new ChallengeBossStageTertinggi());

		// Token: 0x04000856 RID: 2134
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000857 RID: 2135
		public const int BattleRecordStarsFieldNumber = 3;

		// Token: 0x04000858 RID: 2136
		private uint battleRecordStars_;

		// Token: 0x04000859 RID: 2137
		public const int BuffOneFieldNumber = 9;

		// Token: 0x0400085A RID: 2138
		private uint buffOne_;

		// Token: 0x0400085B RID: 2139
		public const int BuffTwoFieldNumber = 14;

		// Token: 0x0400085C RID: 2140
		private uint buffTwo_;

		// Token: 0x0400085D RID: 2141
		public const int LevelFieldNumber = 15;

		// Token: 0x0400085E RID: 2142
		private uint level_;

		// Token: 0x0400085F RID: 2143
		public const int ScoreIdFieldNumber = 7;

		// Token: 0x04000860 RID: 2144
		private uint scoreId_;

		// Token: 0x04000861 RID: 2145
		public const int LineupListFieldNumber = 1;

		// Token: 0x04000862 RID: 2146
		private static readonly FieldCodec<ChallengeLineupList> _repeated_lineupList_codec = FieldCodec.ForMessage<ChallengeLineupList>(10U, ChallengeLineupList.Parser);

		// Token: 0x04000863 RID: 2147
		private readonly RepeatedField<ChallengeLineupList> lineupList_ = new RepeatedField<ChallengeLineupList>();
	}
}
